package com.brilliance.project.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import com.brilliance.project.dao.IDepartDao;
import com.brilliance.project.webapp.form.sysmanage.DepartForm;

@Component("departDaoImpl")
public class DepartDaoImpl extends BaseDaoImpl implements IDepartDao {

	@Override
	public List<DepartForm> queryByPg(DepartForm departForm) {
		return this.getSqlSession().selectList("depart.queryByPg", departForm);
	}

	@Override
	public List<DepartForm> query(DepartForm departForm) {
		return this.getSqlSession().selectList("depart.query", departForm);
	}

}
